#!/bin/bash
#StartU script

if [ ! "$(pgrep DetectarU)" ]; then
   	$detectarU &
	DETECTARU_PID=`pgrep DetectarU.sh`
	echo "DetectarU levantado ($DETECTARU_PID)"
else 
	DETECTARU_PID=`pgrep DetectarU.sh`
	echo "DetectarU ya está corriendo ($DETECTARU_PID)"
fi
